Optimal. Leaf size=73 \[ -\frac {1}{2} \sqrt {3} \tanh ^{-1}\left (\frac {\sqrt {3} \sqrt [3]{x}}{x^{2/3}+1}\right )-\frac {1}{2} \tan ^{-1}\left (\sqrt {3}-2 \sqrt [3]{x}\right )+\frac {1}{2} \tan ^{-1}\left (2 \sqrt [3]{x}+\sqrt {3}\right )+\tan ^{-1}\left (\sqrt [3]{x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.26, antiderivative size = 100, normalized size of antiderivative = 1.37, number of steps used = 11, number of rules used = 7, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.538, Rules used = {329, 295, 634, 618, 204, 628, 203} \begin {gather*} \frac {1}{4} \sqrt {3} \log \left (x^{2/3}-\sqrt {3} \sqrt [3]{x}+1\right )-\frac {1}{4} \sqrt {3} \log \left (x^{2/3}+\sqrt {3} \sqrt [3]{x}+1\right )-\frac {1}{2} \tan ^{-1}\left (\sqrt {3}-2 \sqrt [3]{x}\right )+\frac {1}{2} \tan ^{-1}\left (2 \sqrt [3]{x}+\sqrt {3}\right )+\tan ^{-1}\left (\sqrt [3]{x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 204
Rule 295
Rule 329
Rule 618
Rule 628
Rule 634
Rubi steps
\begin {align*} \int \frac {x^{2/3}}{1+x^2} \, dx &=3 \operatorname {Subst}\left (\int \frac {x^4}{1+x^6} \, dx,x,\sqrt [3]{x}\right )\\ &=\operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt [3]{x}\right )+\operatorname {Subst}\left (\int \frac {-\frac {1}{2}+\frac {\sqrt {3} x}{2}}{1-\sqrt {3} x+x^2} \, dx,x,\sqrt [3]{x}\right )+\operatorname {Subst}\left (\int \frac {-\frac {1}{2}-\frac {\sqrt {3} x}{2}}{1+\sqrt {3} x+x^2} \, dx,x,\sqrt [3]{x}\right )\\ &=\tan ^{-1}\left (\sqrt [3]{x}\right )+\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{1-\sqrt {3} x+x^2} \, dx,x,\sqrt [3]{x}\right )+\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{1+\sqrt {3} x+x^2} \, dx,x,\sqrt [3]{x}\right )+\frac {1}{4} \sqrt {3} \operatorname {Subst}\left (\int \frac {-\sqrt {3}+2 x}{1-\sqrt {3} x+x^2} \, dx,x,\sqrt [3]{x}\right )-\frac {1}{4} \sqrt {3} \operatorname {Subst}\left (\int \frac {\sqrt {3}+2 x}{1+\sqrt {3} x+x^2} \, dx,x,\sqrt [3]{x}\right )\\ &=\tan ^{-1}\left (\sqrt [3]{x}\right )+\frac {1}{4} \sqrt {3} \log \left (1-\sqrt {3} \sqrt [3]{x}+x^{2/3}\right )-\frac {1}{4} \sqrt {3} \log \left (1+\sqrt {3} \sqrt [3]{x}+x^{2/3}\right )-\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,-\sqrt {3}+2 \sqrt [3]{x}\right )-\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,\sqrt {3}+2 \sqrt [3]{x}\right )\\ &=-\frac {1}{2} \tan ^{-1}\left (\sqrt {3}-2 \sqrt [3]{x}\right )+\frac {1}{2} \tan ^{-1}\left (\sqrt {3}+2 \sqrt [3]{x}\right )+\tan ^{-1}\left (\sqrt [3]{x}\right )+\frac {1}{4} \sqrt {3} \log \left (1-\sqrt {3} \sqrt [3]{x}+x^{2/3}\right )-\frac {1}{4} \sqrt {3} \log \left (1+\sqrt {3} \sqrt [3]{x}+x^{2/3}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.00, size = 22, normalized size = 0.30 \begin {gather*} \frac {3}{5} x^{5/3} \, _2F_1\left (\frac {5}{6},1;\frac {11}{6};-x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [C] time = 0.13, size = 79, normalized size = 1.08 \begin {gather*} \tan ^{-1}\left (\sqrt [3]{x}\right )+\frac {1}{2} \left (1-i \sqrt {3}\right ) \tan ^{-1}\left (\frac {1}{2} \left (1-i \sqrt {3}\right ) \sqrt [3]{x}\right )+\frac {1}{2} \left (1+i \sqrt {3}\right ) \tan ^{-1}\left (\frac {1}{2} \left (1+i \sqrt {3}\right ) \sqrt [3]{x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.83, size = 108, normalized size = 1.48 \begin {gather*} -\frac {1}{4} \, \sqrt {3} \log \left (16 \, \sqrt {3} x^{\frac {1}{3}} + 16 \, x^{\frac {2}{3}} + 16\right ) + \frac {1}{4} \, \sqrt {3} \log \left (-16 \, \sqrt {3} x^{\frac {1}{3}} + 16 \, x^{\frac {2}{3}} + 16\right ) - \arctan \left (\sqrt {3} + \frac {1}{2} \, \sqrt {-16 \, \sqrt {3} x^{\frac {1}{3}} + 16 \, x^{\frac {2}{3}} + 16} - 2 \, x^{\frac {1}{3}}\right ) - \arctan \left (-\sqrt {3} + 2 \, \sqrt {\sqrt {3} x^{\frac {1}{3}} + x^{\frac {2}{3}} + 1} - 2 \, x^{\frac {1}{3}}\right ) + \arctan \left (x^{\frac {1}{3}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.63, size = 68, normalized size = 0.93 \begin {gather*} -\frac {1}{4} \, \sqrt {3} \log \left (\sqrt {3} x^{\frac {1}{3}} + x^{\frac {2}{3}} + 1\right ) + \frac {1}{4} \, \sqrt {3} \log \left (-\sqrt {3} x^{\frac {1}{3}} + x^{\frac {2}{3}} + 1\right ) + \frac {1}{2} \, \arctan \left (\sqrt {3} + 2 \, x^{\frac {1}{3}}\right ) + \frac {1}{2} \, \arctan \left (-\sqrt {3} + 2 \, x^{\frac {1}{3}}\right ) + \arctan \left (x^{\frac {1}{3}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 69, normalized size = 0.95 \begin {gather*} \arctan \left (x^{\frac {1}{3}}\right )+\frac {\arctan \left (2 x^{\frac {1}{3}}-\sqrt {3}\right )}{2}+\frac {\arctan \left (2 x^{\frac {1}{3}}+\sqrt {3}\right )}{2}+\frac {\sqrt {3}\, \ln \left (x^{\frac {2}{3}}-\sqrt {3}\, x^{\frac {1}{3}}+1\right )}{4}-\frac {\sqrt {3}\, \ln \left (x^{\frac {2}{3}}+\sqrt {3}\, x^{\frac {1}{3}}+1\right )}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.97, size = 68, normalized size = 0.93 \begin {gather*} -\frac {1}{4} \, \sqrt {3} \log \left (\sqrt {3} x^{\frac {1}{3}} + x^{\frac {2}{3}} + 1\right ) + \frac {1}{4} \, \sqrt {3} \log \left (-\sqrt {3} x^{\frac {1}{3}} + x^{\frac {2}{3}} + 1\right ) + \frac {1}{2} \, \arctan \left (\sqrt {3} + 2 \, x^{\frac {1}{3}}\right ) + \frac {1}{2} \, \arctan \left (-\sqrt {3} + 2 \, x^{\frac {1}{3}}\right ) + \arctan \left (x^{\frac {1}{3}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.77, size = 57, normalized size = 0.78 \begin {gather*} \mathrm {atan}\left (x^{1/3}\right )-\mathrm {atan}\left (\frac {486\,x^{1/3}}{-243+\sqrt {3}\,243{}\mathrm {i}}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )-\mathrm {atan}\left (\frac {486\,x^{1/3}}{243+\sqrt {3}\,243{}\mathrm {i}}\right )\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.78, size = 94, normalized size = 1.29 \begin {gather*} \frac {\sqrt {3} \log {\left (4 x^{\frac {2}{3}} - 4 \sqrt {3} \sqrt [3]{x} + 4 \right )}}{4} - \frac {\sqrt {3} \log {\left (4 x^{\frac {2}{3}} + 4 \sqrt {3} \sqrt [3]{x} + 4 \right )}}{4} + \operatorname {atan}{\left (\sqrt [3]{x} \right )} + \frac {\operatorname {atan}{\left (2 \sqrt [3]{x} - \sqrt {3} \right )}}{2} + \frac {\operatorname {atan}{\left (2 \sqrt [3]{x} + \sqrt {3} \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________